package May29ch21ex1;

public class Truck extends Car {
	private static final long serialVersionUID = 1L;
	private Integer capacity;
	private String regNo;

	public Integer getCapacity() {
		return capacity;
	}

	public void setCapacity(Integer capacity) {
		this.capacity = capacity;
	}

	public String getRegNo() {
		return regNo;
	}

	public void setRegNo(String regNo) {
		this.regNo = regNo;
	}
}
